package com.irdstudio.apicenter.frame.maker;

import java.io.IOException;

import com.irdstudio.apicenter.frame.core.jdbc.container.DataList;
import com.irdstudio.apicenter.frame.maker.engine.ICodeGenerator;
import com.irdstudio.apicenter.frame.maker.engine.velocity.VelocityCodeGenerator;
import com.irdstudio.apicenter.frame.util.PathUtil;

public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		System.out.println(PathUtil.getFormatPath("login.html.vm"));
		ICodeGenerator veloctiyGenerator = new VelocityCodeGenerator();
		try {
			veloctiyGenerator.generate("0090020001/login.html.vm", new DataList(),
					"", null,null);
		} catch (IOException e) {
			e.printStackTrace();
		}
		System.out.println(PathUtil.getClassRootPath());
		// ICodeGenerator veloctiyGenerator2 = new VelocityCodeGenerator();
		// veloctiyGenerator2.generate("", null,null);
	}

}
